package sel.me.mysql;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

//@EnableFeignClients(basePackages = "com.case1337.casecenter.biz.consumer")
//@EnableEurekaClient
//@EnableScheduling
//@SpringCloudApplication
@EnableScheduling
@EnableAsync
@SpringBootApplication
@ImportResource({ "classpath*:spring/spring-*.xml" })
@ComponentScan(basePackages="sel.me.mysql.learning")
@EnableAutoConfiguration(exclude = { DataSourceAutoConfiguration.class })
public class MySqlLearningStartupApplication {

    public static void main(String[] args) throws InterruptedException {
        SpringApplication.run(MySqlLearningStartupApplication.class, args);
    }
}
